package com.pb.ex;

public class ExTest {
	public static EX creat(int num){
		switch(num){
			case 1:
				return new CD();
			case 2:
				return new Bag();
			case 3:
				return new Pen();
			default:
				return null;
		}
	}
}
